<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构对象</title>
    <script>
      let user = {
          id:10086,
          name:"刘德华",
          age:50
      }

      user.address="航都路18号"

      let {id,...others} = user;

      console.log(id);

      console.log(others);
      console.log(user);






    </script>
</head>
<body>

</body>
</html>